package com.physics.mps.module.setting;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.physics.mps.entity.dto.AppModuleEntity;
import com.physics.mps.mapper.AppModuleMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author mcsoft
 * @date 2023/09/15 15:29
 **/
@RequiredArgsConstructor
@Service
public class AppMoluleServiceImpl extends ServiceImpl<AppModuleMapper, AppModuleEntity> implements AppMoluleService {
    private final AppModuleMapper appModuleMapper;

    @Override
    public List<AppModuleEntity> getAppModuleListByAppId(String appId) {
        //  根据APPID查询MODULE数据
        return appModuleMapper.getAppModuleListByAppId(appId);
    }
}
